module.exports = {
  devServer: {
    proxy: {
      '/api2': {
        target: 'http://timemeetyou.com:8889/api/private/v1/',
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          '^/api2': ''
        }
      },
      '/api': {
        // target: 'http://timemeetyou.com:8889/api/private/v1/',
        target: 'https://api.tianapi.com/txapi',
        changeOrigin: true,
        secure: false,
        ws: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  }
}